home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
ptv2n1.arc
/
TEST.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-03-26
|
330b
|
14 lines
' TEST.BAS - a test driver for VALSUB.ASM
' compiled with BC 7.1, switch "/O"
' linked to VALSUB.OBJ and NOFLTIN.OBJ
' switches "/E/NOE"
declare function atoi% (a$)
declare function atol& (a$)
restart:
input "Enter a digit string: ", a$
print , atoi(a$), atol(a$)
print
goto restart